﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BestLifePOS_Core.Data.Commands;
using BestLifePOS_Core.DomainObjects;

namespace BestLifePOS_Core.Data.Fascade
{
  public  class DistributorDAO
    {

      public static List<Distributor> GetAllDistributors()
      {
          BestLifeGetAllDistributorDataAction LvGet = new BestLifeGetAllDistributorDataAction();
          return LvGet.execute();
      }

      public static List<Distributor> GetAllDistributors(string PDisId)
      {
          BestLifeGetAllDistributorByIdDataAction LvGet = new BestLifeGetAllDistributorByIdDataAction(PDisId);
          return LvGet.execute();
      }
    }
}
